package com.ruoyi.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.data.WriteCellData;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.net.URL;
import java.util.Date;

/**
 * @Author:zzm
 * @Date: 2024/10/23 14:55
 */
@Data
public class ExceptionDataExcelVO {


    @ExcelProperty("日期")
    private Date date;

    /**
     * 客户
     */
    @ExcelProperty("客户")
    private String customer;

    /**
     * 上传部门
     */
    @ExcelProperty("上传部门")
    private String uploadDepartment;

    /**
     * 上传人
     */
    @ExcelProperty("上传人")
    private String uploadPeople;

    /**
     * 仓库
     */
    @ExcelProperty("仓库")
    private String wareHouse;

    /**
     * 问题点
     */
    @ExcelProperty("问题点")
    private String problem;

    /**
     * 异常类型
     */
    @ExcelProperty("异常类型")
    private String exceptionType;

    /**
     * 异常内容描述
     */
    @ExcelProperty("异常内容描述")
    private String exceptionContent;

    /**
     * 客户异常进度/结果
     */
    @ExcelProperty("客户异常进度/结果")
    private String customerResult;

    /**
     * 确认人/部门
     */
    @ExcelProperty("确认人/部门")
    private String enter;

    private String fileList;

    @ExcelIgnore  // 忽略URL字段
    private URL pictureUrl;

    @ExcelProperty("图片1")
    private WriteCellData<Void> picture1;
    @ExcelProperty("图片2")
    private WriteCellData<Void> picture2;
    @ExcelProperty("图片3")
    private WriteCellData<Void> picture3;
    @ExcelProperty("图片4")
    private WriteCellData<Void> picture4;
    @ExcelProperty("图片5")
    private WriteCellData<Void> picture5;



}
